package cn.szabadsag.pay.service.impl;

import cn.szabadsag.base.service.impl.BaseServiceImpl;
import cn.szabadsag.pay.domain.PayBill;
import cn.szabadsag.pay.mapper.PayBillMapper;
import cn.szabadsag.pay.service.IPayBillService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * @author yangcong
 * @date 2022年03月19日 15:28
 * @since
 */
@Service
public class PayBillServiceImpl extends BaseServiceImpl<PayBill> implements IPayBillService {

    @Autowired
    private PayBillMapper payBillMapper;

    @Override
    public PayBill loadByOrderSn(String orderSn) {
        return payBillMapper.loadByOrderSn(orderSn);
    }
}
